<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>操作日志</title>

</head>
<style>
    pre{
        border: 1px solid #eee;
        padding: 10px!important;
    }
</style>
<body>
    <div th:include="load"></div>
    <div class="layui-row layui-col-space15 layui-anim layui-anim-upbit">
        <div class="layui-col-md12">
            <div class="layui-card">
                <div class="layui-card-header">
                    <span class="layui-breadcrumb">
                        <a href="javascript:void(0)">系统管理</a>
                        <a><cite>日志管理</cite></a>
                    </span>
                </div>
                <div class="layui-card-body">
                    <table id="data_table" class="layui-hide" lay-filter="data_table"></table>
                </div>
            </div>
        </div>
    </div>
    <!-- 查询 -->
    <form class="layui-form" action="" id="search_form" lay-filter="search_form"  style="padding: 20px 10px 10px 10px;display: none">
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">姓名</label>
                <div class="layui-input-inline">
                    <input type="text" name="userName"  placeholder="请输入关键字"  autocomplete="off"  class="layui-input">
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">日志类型</label>
                <div class="layui-input-inline" id="search_type"></div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">请求类型</label>
                <div class="layui-input-inline" id="search_method_type"></div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">模块名称</label>
                <div class="layui-input-inline">
                    <input type="text" name="moduleName"  placeholder="请输入关键字"  autocomplete="off"  class="layui-input">
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">模块操作</label>
                <div class="layui-input-inline">
                    <input type="text" name="moduleOperation"  placeholder="请输入关键字"  autocomplete="off"  class="layui-input">
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">方法名</label>
                <div class="layui-input-inline">
                    <input type="text" name="method"  placeholder="请输入方法名"  autocomplete="off"  class="layui-input">
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">IP地址</label>
                <div class="layui-input-inline">
                    <input type="text" name="ip"  placeholder="请输入关键字"  autocomplete="off"  class="layui-input">
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">时间范围</label>
                <div class="layui-input-inline">
                    <input type="text" name="dateTime" id="dateTime" placeholder="请选择起始范围"  autocomplete="off"  class="layui-input">
                </div>
            </div>
            <div class="layui-inline" style="text-align: center;">
                <a lay-submit  class="layui-btn lay-close-btn"  lay-filter="submitSearch">查询</a>
                <a class="layui-btn layui-btn-primary lay-reset-btn">重置</a>
            </div>
        </div>
    </form>
    <!-- 新增编辑表单 -->
    <form class="layui-form" id="data_form"  action="" lay-filter="data_form" style="padding:10px;display: none;">
        <fieldset class="layui-elem-field layui-field-title" style="color:#89b586;">
            <legend>详细信息</legend>
        </fieldset>
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">创建时间</label>
                <div class="layui-input-inline">
                    <input type="text" name="createDate" class="layui-input"  autocomplete="off">
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">类型</label>
                <div class="layui-input-inline" id="type"></div>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">模块名称</label>
                <div class="layui-input-inline">
                    <input type="text" name="moduleName" class="layui-input"  autocomplete="off" >
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">模块操作</label>
                <div class="layui-input-inline">
                    <input type="text" name="moduleOperation" class="layui-input" autocomplete="off"  >
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">请求类型</label>
                <div class="layui-input-inline">
                    <input type="text" name="methodType" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">方法名</label>
                <div class="layui-input-inline">
                    <input type="text" name="method" autocomplete="off" class="layui-input">
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">IP地址</label>
                <div class="layui-input-inline">
                    <input type="text" name="ip" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">物理地址</label>
                <div class="layui-input-inline">
                    <input type="text" name="addr"  autocomplete="off" class="layui-input">
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">操作用户</label>
                <div class="layui-input-inline">
                    <input type="text" name="userName" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">操作时间</label>
                <div class="layui-input-inline">
                    <input type="text" name="createDate"  autocomplete="off" class="layui-input">
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">类的包路径</label>
            <div class="layui-input-block">
                <input type="text" name="classUrl"  autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">请求参数</label>
            <div class="layui-input-block">
               <!-- <textarea placeholder="请输入内容" class="layui-textarea" id="param" name="param" style="height: 200px"></textarea>-->
                <pre id="param"></pre>
            </div>
        </div>
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">备注</label>
            <div class="layui-input-block">
                <textarea placeholder="请输入内容" class="layui-textarea" name="remarks" style="height: 200px"></textarea>
            </div>
        </div>
        <div class="layui-form-item" style="text-align: center;margin-top: 30px;">
            <a class="layui-btn layui-btn-primary lay-close-btn">关闭</a>
        </div>
    </form>
</body>
<script type="text/html" id="toolberLeft">
    <div class="layui-form">
        <a class="layui-btn layui-btn-sm" lay-event="search" style="margin-left: 5px;"><i class="layui-icon">&#xe615;</i>搜索</a>
    </div>
</script>
<script type="text/html" id="toolRow">
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="detail">查看</a>
</script>

<script type="text/javascript" th:src="@{/js/sys/log.js}"></script>

</html>